<!-- admin header -->
<div class="row conteinerMinSize">
	<div class="col-xs-2 buttonWide">
		<a href="<?php echo Config::get('URI'); ?>logout/" class="btn btn-danger btn-lg boxShadow adminHeader" role="button">излез</a>
	</div>
	<div class="col-xs-2 col-md-offset-3 buttonWide">
		<a href="<?php echo Config::get('URI'); ?>add-recipe/" class="btn btn-warning btn-lg boxShadow adminHeader" role="button">добави</a>
	</div>
	<div class="col-xs-2 col-md-offset-3 buttonWide">
		<a href="<?php echo Config::get('URI'); ?>" class="btn btn-success btn-lg boxShadow adminHeader" role="button">старт</a>
	</div>
</div>

<!-- recipes listing -->
<div class="row conteinerMinSize">
	<?php foreach($db_Recipes as $recipe): ?>
	<div class="col-xs-8 col-xs-offset-2 bg-info boxShadow bottomOffset">
		<h4 class="text-center"><?php echo $recipe->title; ?>
			<a href="<?php echo Config::get('URI') . 'delete/' . $recipe->id; ?>" onclick="return (confirm('Delete this recipe?'));">
				<span class="pull-right del">delete</span>
			</a>
		</h4>
		<div class="col-xs-12">
			<?php echo $recipe->recipe; ?>
		</div>
	</div>
	<?php endforeach; ?>
</div>